<template>
    <div class="child-two-level">
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive" ref="child"></router-view>
        </keep-alive>
        <router-view v-if="!$route.meta.keepAlive" ref="child"></router-view>
    </div>
</template>
<style rel="stylesheet/scss" lang="scss">

</style>
<script>
    export default {
        name: "ParentView",
        data() {
            return {}
        },
        props: {},
        // 监听变化
        watch: {},
        // 计算属性
        computed: {},
        // 组件
        components: {},
        created() {
        },
        mounted() {
        },
        methods: {}
    }
</script>
